
/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"CE5B78B8-2476-4F9C-B283-A40B9D386980"}
 */
function nuevo(event) {
	foundset.newRecord()
}

/**
 * Perform the element default action.
 *
 * @param {JSEvent} event the event that triggered the action
 *
 * @properties={typeid:24,uuid:"EA8D66D6-FA69-403F-A138-4C363D514A26"}
 */
function borrar(event) {
	var $resp = globals.DIALOGS.showQuestionDialog('Confirmación','¿Desea eliminar este contacto?','Si','No')
	if ($resp == 'Si')
		foundset.deleteRecord()
}
